package com.example.springboot.dao.Impl;

import com.example.springboot.dao.Deptdao;
import org.springframework.stereotype.Repository;

/**
 * @Auther:Liu
 * @Testname:addDeptdaoImpl
 * @Date:2025/4/1 10:19
 */
@Repository
public class DeptdaoImpl implements Deptdao {
    @Override
    public String addDeptdao(String ask1) {
        if (ask1.equals("开始添加数据!")){
            return "数据添加成功!";
        }else{
            return "数据添加失败!";
        }
    }
}
